﻿using Tszy.Unlimited.Base.Extensions;
using Tszy.Unlimited.Base.Features;

namespace Tszy.API.Test2;

public class Test12
{
    public class Request : FunctionFeatureRequest<List<Response>>
    {
        public int Id { get; set; }
    }

    public class Response
    {
    }

    public class Handler : FunctionFeatureHandler<Request, List<Response>>
    {
        protected override async Task OnExecuteAsync(Request request, CancellationToken cancellationToken)
        {
            await "http://www.baidu.com".HttpPost("aa").ExecuteAsync();
            await Task.CompletedTask;
        }
    }
}